package com.nengchuan.eic.nceconomy.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nengchuan.eic.nceconomy.config.Long2DateFormatSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description:
 * @author: panwen
 * @create: 2020/05/25 15:14
 * @version：1.0.0
 */
@ApiModel
@Data
public class SwFileVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "目录ID")
    private Long directoryId;

    private Long ossId;

    private String fileName;

    @ApiModelProperty("ossUrl")
    private String fileUrl;

    @ApiModelProperty(value = "计算状态 1-未计算 2-计算中 3-计算成功 4-计算失败")
    private Integer computeStatus;

    @ApiModelProperty(value = "项目类型 1-线路工程 2-安装工程")
    private Integer projectType;

    @ApiModelProperty(value = "进度")
    private Integer queryNum;

    @ApiModelProperty(value = "状态 1-发布成功 0-发布中  2-发布失败")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonSerialize(using = Long2DateFormatSerializer.class)
    private Long createTime;
}
